#pragma once

#include "Menu.h"
#include "LeagueHistory.h"

class LeagueMenu : public Menu
{
public:
	LeagueMenu(MenuManager* const i_menuManager);
	~LeagueMenu(void);

	void Draw() const;
	bool Input(const STL::string& i_input);

	void SetHistoryItemStat(const LeagueItemHistory* const i_item, STL::string i_nameLeague);

private:
	void ShowLeague() const;
	const LeagueItemHistory* m_item;
	STL::string m_nameLeague;
};

inline void LeagueMenu::SetHistoryItemStat(const LeagueItemHistory* const i_item, STL::string i_nameLeague)
{
	m_item = i_item;
	m_nameLeague = i_nameLeague;
}